﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="left.ascx.cs" Inherits="NGU.WUC.left" %>
<div id="inboud-tours" class="show-tours">
    <div class="tittle-tours">
        <a href="#">TOURS DU LỊCH</a></div>
    <%
        for (int i = 0; i < 4; i++)
        {
    %>
    <div class="thumb-tour">
        <div class="thumb-img">
            <img alt="" src="<%=this.tourLst[i].TourImage %>" />
        </div>
        <div class="named-tour">
            <a href="#" title="<%=this.tourLst[i].TourName %>">
                <%=this.tourLst[i].TourName %></a></div>
        <div class="dateprice">
            <div class="start-date">
                Khởi hành: <span class="bold-valid">
                    <%=string.Format("{0:dd/MM/yyyy}", this.tourLst[i].StartDay) %></span></div>
            <div class="price-tour">
                Giá: <span class="bold-valid">
                    <%=this.tourLst[i].Price.ToString() + " " + this.tourLst[i].Unit %></span></div>
        </div>
        <%--<div class="other-startdate" >
            <a href="#">Ngày khởi hành khác</a>
        </div>--%>
        <div class="end-date">
            Kết thúc: <span class="bold-valid">
                <%=string.Format("{0:dd/MM/yyyy}", this.tourLst[i].EndDay) %></span></div>
        <div class="view-details">
            <a href="/ChiTietTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>" class="btndetailst">
                <img alt="" src="images/details-butt.png" /></a> <a href="/DatTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>" class="btnbookingt">
                    <img alt="" src="images/booking-butt.png" /></a>
        </div>
        <!-- END .view-details -->
        <div class="tour-info">
            <p>
                <%=this.tourLst[i].Description %>
            </p>
        </div>
    </div>
    <!-- END .thumb-tour -->
    <% 
        }
    %>
    <div class="clear">
    </div>
    <!-- tour_list -->
    <div class="tour_list">
        <%
            for (int i = 4; i < this.tourLst.Count; i++)
            {
        %>
        <li>
            <div class="name">
                <a title="<%=this.tourLst[i].TourName %>" href="/ChiTietTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>">
                    <h2>
                        <%=this.tourLst[i].TourName %></h2>
                </a>
            </div>
            <div class="price">
                (
                <%=this.tourLst[i].Price.ToString("##,#", System.Globalization.CultureInfo.CreateSpecificCulture("en-US"))%> <%=this.tourLst[i].Unit %>
                )</div>
        </li>
        <% 
            }
        %>
    </div>
    <!-- End tour_list -->
</div>
<!-- END #inboud-tours -->
